import ReactDOM from "react-dom/client";
import App from "./App";
import { ConfigProvider, theme } from "antd";

const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
  /* https://ant-design.antgroup.com/docs/react/customize-theme-cn */
  <ConfigProvider
    theme={{
      // algorithm: theme.darkAlgorithm, // dark
      token: {
        // Seed Token，影响范围大
        colorPrimary: "#00b96b",
        colorLink: "#00b96b",
        // borderRadius: 2,
        // 派生变量，影响范围小
        // colorBgContainer: "#f6ffed",
      },
    }}
  >
    <App />
  </ConfigProvider>
);
